package com.jk1.bianligou.blg.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jk1.bianligou.blg.domain.dto.user.UserUpdateRequest;
import com.jk1.bianligou.blg.domain.po.User;

import javax.servlet.http.HttpServletRequest;

/**
* @author WHH
* @description 针对表【user(用户表)】的数据库操作Service
* @createDate 2025-04-11 21:47:14
*/
public interface UserService extends IService<User> {

    User login(String username, String password, HttpServletRequest httpServletRequest);

    User getUserById(Long id);

    void updateUser(UserUpdateRequest user);

    void deleteUser(Long id);

    boolean sign(Long id);

    Long userRegister(String userAccount, String userPassword, String ensurePassword);
}
